package com.example.module.shoppingCart.form;


import lombok.Data;

import java.sql.Date;

/**
 * @author ghy
 * @date 2025/08/28
 * @description 获取购物车表单
 */
@Data
public class GetShopingCartForm {
    /*
    * 购物车Id
    * */
    private Long shoppingCartId;

    /*
    * 用户Id
    * */
    private Long userId;

    /*
    * 商品Id
    * */
    private Long goodsId;

    /*
    * 添加购物车时间
    * */
    private Date shoppingAddTime;

    /*
    * 更新购物车时间
    * */
    private Date shoppingUpdateTime;

    /*
    * Getter and Setter
    * */

    public Long getShoppingCartId() {
        return shoppingCartId;
    }

    public void setShoppingCartId(Long shoppingCartId) {
        this.shoppingCartId = shoppingCartId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Date getShoppingAddTime() {
        return shoppingAddTime;
    }

    public void setShoppingAddTime(Date shoppingAddTime) {
        this.shoppingAddTime = shoppingAddTime;
    }

    public Date getShoppingUpdateTime() {
        return shoppingUpdateTime;
    }

    public void setShoppingUpdateTime(Date shoppingUpdateTime) {
        this.shoppingUpdateTime = shoppingUpdateTime;
    }
}
